/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}
body{
width: 100%;
height: 100%;
padding: 0;
margin: 0;
font-family: tahoma, Arial, sans-serif;
background-color: #dcdcdc;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.wrpHeader{
    height: 42px;
    background: #fff;
    border-bottom: 2px solid #f38901;
    -moz-box-shadow: 0 1px 2px rgba(136,136,136,.4);
    -webkit-box-shadow: 0 1px 2px rgba(136,136,136,.4);
    box-shadow: 0 1px 2px rgba(136,136,136,.4);
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}
.logohead{
    color: #9b9b9b;
    text-decoration: none;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    float: left;
}
.ilogo{
    display: inline-block;
    width: 42px;
    height: 42px;
    background: url(../css/img/icon.png) no-repeat center center;
    float: left;
}
.h1logo{
    display: inline-block;
    height: 42px;
    line-height: 42px;
    float: left;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
}
.BtnGrpRight{
    float: right;
}
.BtnGrpRight em{
    font-style: normal;
}
.addHead{
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    margin: 0;
    display: inline-block;
    float: right;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    color: #c7c7c7;
}
.srchHead{
    height: 42px;
    line-height: 42px;
    margin: 0;
    display: inline-block;
    float: right;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    color: #c7c7c7;
}
.addHead:hover{
    background: #ece8e8;
    color: #f38901;
}

.srchHead:hover .wrpIEmSrch{
    background: #ece8e8;
    color: #f38901;
}
.iadd,.isrch{
    display: inline-block;
    width: 20px;
    height: 42px;
    float: left;
    margin-right: 10px;
}
.addHead:hover .iadd{
    background: url(../css/img/addheadactive.png) no-repeat center center;
}
.srchHead:hover .isrch{
    background: url(../css/img/srchactive.png) no-repeat center center;
}
.iadd{
    background: url(../css/img/addhead.png) no-repeat center center;
}
.isrch{
    background: url(../css/img/srch.png) no-repeat center center;
}

.wrpIEmSrch{
    padding: 0 10px;
    display: block;
}
.wrpFormsrchHead{
    position: relative;
    display: none;
    margin:0 10px;
}
.srchInput{
    border: 0;
    padding: 0 25px 0 5px;
    width: 170px;
    height: 25px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #fafafa;
    color: #444;
    outline: none;
    box-shadow: 1.5px 1.5px 1.5px rgba(255,255,255,1), inset 1.5px 1.5px 1.5px rgba(189,189,189,0.1);
    -moz-box-shadow: 1.5px 1.5px 1.5px rgba(255,255,255,1), inset 1.5px 1.5px 1.5px rgba(189,189,189,0.1);
    -webkit-box-shadow: 1.5px 1.5px 1.5px rgba(255,255,255,1), inset 1.5px 1.5px 1.5px rgba(189,189,189,0.1);
    border: 1px solid rgba(189,189,189,0.2);
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}
.srchBtn{
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    margin-top: 12px;
    right: 5px;
    background: url(../css/img/srhclick.png) no-repeat center center;
    border: 0;
    cursor: pointer;
    background-size: 16px 17px;
    opacity: 0.4;
}

/*navbar sort*/
.navTopBar {
height: 35px;
background-color: #f1f1f1;
background: #f7f6f5;
text-align: center;
-webkit-box-shadow: 0 -1px 5px rgba(0,0,0,.2);
-moz-box-shadow: 0 -1px 5px rgba(0,0,0,.2);
box-shadow: 0 -1px 5px rgba(0,0,0,.2);
position: relative;
border-top: 1px solid #fff;
margin-top: 44px;
}
.tabShowTopBar {
height: 35px;
float: left;
line-height: 35px;
margin-left: 10px;
color: #777;
font-size: 16px;
font-weight: 400;
}
.btnSort {
float: right;
border: 0;
height: 32px;
line-height: 32px;
margin: 0;
padding: 0;
cursor: pointer;
background: transparent;
padding-left: 10px;
position: relative;
}
.wrpUllistSort {
display: none;
}
.btnSort > i {
display: block;
top: 13px;
right: 5px;
position: absolute;
width: 16px;
height: 11px;
background: url(../css/img/ardown.png) no-repeat center center;
background-size: 8px;
}
.btnSort > em {
font-style: normal;
color: #a1a1a1;
font-size: 12px;
}



/*----__------------------ admin -------------------------*/
.wrpContent {
background-color: #f9f9f9;
-moz-box-shadow: 0 0 5px rgba(136,136,136,.3);
-webkit-box-shadow: 0 0 5px rgba(136,136,136,.3);
box-shadow: 0 0 5px rgba(136,136,136,.3);
position: absolute;
height: 100%;
width: 1000px;
z-index: 40;
left: 50%;
margin-left: -500px;
top: 0;
overflow: hidden;
}
.wrpInnerContent{
    position: relative;
    height: 100%;
    overflow: auto;
}
.wrpInnerHeader{
    max-width: 1000px;
    margin: 0 auto;
}
.btnLogout{
    float: right;
    border: 0;
    height: 35px;
    line-height: 35px;
    margin: 0;
    padding: 0;
    width: 38px;
    cursor: pointer;
    background: transparent;
    padding-left: 8px;
}
.btnLogout > i {
    display: block;
    float: left;
    width: 24px;
    height: 35px;
    background: url(../css/img/logout.png) no-repeat center center;
}
.btnLogout:hover {
    background: #ddd;
}
.mgUserSt{
    height: 35px;
    display: inline-block;
    float: right;
    cursor: default;
    margin-right: 5px;

}
.mgUserSt > i{
    display: block;
    float: left;
    width: 24px;
    height: 34px;
    cursor: default;
    background: url(../css/img/supperadmin.png) no-repeat center center;
    background-size: 16px;
}
.mgUserSt > em{
    font-style: normal;
    line-height: 35px;
    height: 35px;
    font-size: 12px;
    color: #999;
    cursor: default;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/* back office */
.backOfficeHead {
    padding: 0 10px;
    height: 42px;
    line-height: 42px;
    margin: 0;
    display: inline-block;
    float: right;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    color: #c7c7c7;
}
.backOfficeHead a{
    text-decoration: none;
    color: #c7c7c7;
}
.ihome{
    background: url(../css/img/homeicon.png) no-repeat center center;
    display: inline-block;
    width: 20px;
    height: 42px;
    float: left;
    margin-right: 10px;
}
.backOfficeHead:hover .ihome{
    background: url(../css/img/homeiconactive.png) no-repeat center center;
}
.backOfficeHead:hover {
    background: #ece8e8;
    color: #f38901;
}
.backOfficeHead:hover a {
    color: #f38901;
}
.wrpInnerHeader {
    width: 1000px
}